<#include "/template/blog/header.ftl">
	<div class="banner border-top-bottom">
		<ul class="carousel">
			<@shishuo_headline_list_tag>
				<#list tag_headline_list as headline>
					<li class="item" style="background:#212e41 url('${BASE_PATH}/${headline.picture}') center no-repeat;height:250px;"></li>
					<#break />
				</#list>
			</@shishuo_headline_list_tag>
		</ul>
	</div>
	<br />
	<br />

	<div class="container">
	<br>
    <div class="grid-big">
        <div class="space xm8 xm1-move">
            <h3 class="padding-bottom border-bottom icon-caret-right"> 订单中心</h3>
            <br>
            <#list pageVo.list as order>
            <table class="table table-bordered" >
            <tbody><tr class=""><th colspan="2"><span class="mar-right">收件人:${order.linkman}</span>
            <span class="mar-right">订单总价:${order.totalprice}</span>
            <span class="mar-right"> 订单时间:${order.createTime?string("yyyy-MM-dd")}</span>
         	   订单状态:<#if order.status=1>未发货</#if><#if order.status!=1>已发货</#if>
           </th></tr>
            <tr class=""><th colspan="2">
    			 <span class="mar-right">地址：${order.address}</span>
    			 <span class="mar-right"> 邮编:${order.zipCode}</span>
    			 <span class="mar-right">电话:${order.mobile}</span>        
           </th></tr>
            <#list order.orderDetails as detail>
            <tr>
            <td width="60">
            <#list detail.product.pictureList as pic>
				<img src="${BASE_PATH}/${pic.url}" width="60" />
				<#break/>
			</#list>
            </td>
            <td class="badge-corner">
                <span class="text-red text-small"></span> <a href="/product/${detail.product.productId}.htm" target="_blank">${detail.product.productName} </a>
                <div class="float-right padding-top" align="right">
                    ¥${detail.productPrice} × <span>${detail.productNum}</span><br>
                </div>
                </td>
            </tr>
            <tr class=""><td colspan="2" align="right">总计： ¥<span id="total">${detail.productPrice*detail.productNum}</span></td></tr>
            <tr class=""><td colspan="2" align="right">备注： ${order.remark}</td></tr>
            </#list>
            </tbody>
           </table>
           </#list>
            <br>
        </div>
        
    </div>
    <br>
</div>

</div> 
	<#include "/template/blog/footer.ftl">